<script type="text/javascript" src="${contextPath}script/mobile/leave.js"> </script>
<script type="text/javascript">

$(function () {
	var url = '${contextPath}script/mobile/leave.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function() {
			queryLeave_leave();
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryLeaveForm">
<table class="search_term_table">
	<tr><th style="width:60px;">请假人</th>
		<td><input type="text" name="cuname" style="width:80px;"/><input type="hidden" name="cu" value="${cu_code}"/></td>
		<th style="width:40px;">原因</th>
		<td><input type="text" name="reason" style="width:150px;"/></td>
		<th style="width:80px;">请假时间</th>
		<td>
			<input id="st" type="text" style="width:80px;" name="st" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});">
		</td>
		<td style="text-align:right;">
		<button class="btn btn-info" onclick="javascript:queryLeave_leave(); return false;"><i class="icon-search"></i> 查 询 </button>
	</tr>
</table>
</form>
<div id="leaveResultList"></div>
